<?php 

	class Person extends Persist
	{		
		protected $name;
		protected $phones;
		
		protected $schema		= 'base';
		protected $table		= 'tab_person';
		protected $meta_mapping	= array(
										'id'	=>	'per_cod',
										'name'	=>	'per_name'
									);
		
		public function __construct()
		{
			$this->name          = new PVarchar();
			$this->phones        = new PArrayOf("Phone");
			
			parent::__construct();
		}
	}

?>